@extends('layouts.home-marster')
@section('go_course')
    <div class="main-wrap">
        {{--详情内容在中间--}}

        @if(!empty($go_course->uptime))
            <div class="main-center">
                <h2 class="art-ttl" id="title">{{$go_course->title}}</h2>
                <div class="art-info">{{date('Y-m-d',$go_course->uptime)}}</div>
                {{--正文内容--}}
                <div class="article-cont">
                    <div class="img">
                        <img src="{{asset('/image/home/'.$go_course->icon)}}" alt="">
                        <p>{!! $go_course->dist !!}</p>
                    </div>
                </div>
            </div>

        @endif
        @if(!empty($special->addtime))
        <div class="main-center">
            <h2 class="art-ttl" id="title">{{$special->title}}</h2>
            <div class="art-info">{{date('Y-m-d',$special->uptime)}}</div>
            {{--正文内容--}}
            <div class="article-cont">
                <div class="img">
                    <img src="{{asset('/image/special/'.$special->icon)}}" alt="">
                    <p>{!! $special->text !!}</p>
                </div>
            </div>
        </div>
        @endif
        @if(!empty($consult->addtime))
            <div class="main-center">
                <h2 class="art-ttl" id="title">{{$consult->title}}</h2>
                <div class="art-info">{{date('Y-m-d',$consult->uptime)}}</div>
                {{--正文内容--}}
                <div class="article-cont">
                    <div class="img">
                        <img src="{{asset('/image/infomation/'.$consult->icon)}}" alt="">
                        <p>{!! $consult->text !!}</p>
                    </div>
                </div>
            </div>
        @endif

    </div>
@endsection